lcWndZoomPos Home

Set view center and optional scale.

 BOOL lcWndZoomPos (
   HANDLE hLcWnd,
   double Xc,
   double Yc,
   double PixelSize
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
Xc Yc
  Coordinates of view center.
PixelSize
  Scale of the drawing in the window, drawing's units per screen pixel.
If the value is less then LC_PROP_DRW_LIM_MIXPIXSIZE or zero, then this parameter will be ignored and the function use current view scale.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcWndZoomRect,   lcWndZoomScale